package com.talent.datasource.influxdb;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @ClassName：TalentInfluxDBProperties
 * @Author: hszhou
 * @Date: 2024/10/30 11:12
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@ConfigurationProperties(prefix = "influx")
public class TalentInfluxDBProperties {


    private String url;
    private String token;
    private String org;
    private String bucket;
    private Integer batchSize;
    private Integer flushInterval;



    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getOrg() {
        return org;
    }

    public void setOrg(String org) {
        this.org = org;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public Integer getBatchSize() {
        return batchSize;
    }

    public void setBatchSize(int batchSize) {
        this.batchSize = batchSize;
    }

    public Integer getFlushInterval() {
        return flushInterval;
    }

    public void setFlushInterval(Integer flushInterval) {
        this.flushInterval = flushInterval;
    }
}
